<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Growfield events test</title>
        <script type="text/javascript" src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js'></script>
        <script type="text/javascript" src='@DESTFILE@'></script>
        <script>
            $(function(){
                var log = $('#log');
                $('textarea').growfield({
                    restore: true,
                    onHeightChange: function() { log.append('onHeightChange<br>'); },
                    onRestore: function() { log.append('onRestore<br>');},
                    onGrowBack: function() { log.append('onGrowBack<br>');}
                });
            });
        </script>
    </head>
    <body style="text-align:center;">

        <br/><br/><br/><br/>
        <textarea></textarea>
        <div style="width:300px; position:absolute; left: 10px; top:10px; border:1px solid #ccc;" id="log"></div>

    </body>
</html>